﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class basecon_info : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
        if (Session[Params.SystemError] != null)
        {
            this.pError.InnerText = Session[Params.SystemError].ToString();
            Session.Remove(Params.SystemError);
            this.divError.Visible = true;
        }
        else
        {
            this.divError.Visible = false;
        }
         
    }

    public void SetMessage(string mes)
    {
        this.divError.Visible = true;
        this.pError.InnerText = mes;
    }
}
